package io.renren.common.entry;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 视频信息表
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2021-05-31 10:22:41
 */
@Data
@TableName("rec_vedio_info")
public class RecVedioInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 播放地址
	 */
	private String vUrl;
	/**
	 * 标题
	 */
	private String vTitle;
	/**
	 * 描述
	 */
	private String vDesc;
	/**
	 * 创建者id
	 */
	private Long ctreaeid;
	/**
	 * 删除标记  -1：已删除  0：正常
	 */
	private Integer delFlag;
	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date createtime;
	/**
	 * 视频类型
	 */
	private Integer vType;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getvUrl() {
		return vUrl;
	}

	public void setvUrl(String vUrl) {
		this.vUrl = vUrl;
	}

	public String getvTitle() {
		return vTitle;
	}

	public void setvTitle(String vTitle) {
		this.vTitle = vTitle;
	}

	public String getvDesc() {
		return vDesc;
	}

	public void setvDesc(String vDesc) {
		this.vDesc = vDesc;
	}

	public Long getCtreaeid() {
		return ctreaeid;
	}

	public void setCtreaeid(Long ctreaeid) {
		this.ctreaeid = ctreaeid;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getvType() {
		return vType;
	}

	public void setvType(Integer vType) {
		this.vType = vType;
	}
}
